-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade to node 22 #44
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good to me, some minor nits though. Thanks for taking this on 💪
.toArray() | ||
.map(([meetingId, v]) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I'm dumb and missed this 🤦 This can be map
then toArray
as well
.map(([key, rank]) => ({ | ||
type: "course" as const, | ||
result: getFromMapOrThrow(courses, key), | ||
rank, | ||
})) | ||
.toArray() | ||
.slice(input.skip, input.skip + input.take), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also missed this - can be converted to .drop and .take
Description
Upgrade to node 22 and refactor usages of
Array.from
toiterator.toArray()
Related Issue
closes #32
Motivation and Context
How Has This Been Tested?
Ran scrapers locally and tested changed services by hitting endpoints
Screenshots (if appropriate):
Types of changes
Checklist: